﻿<%@ Page Language="C#" ValidateRequest="false" CodeFile="ExpertYijia.aspx.cs" Inherits="Expert_ExpertYijia"
    AutoEventWireup="true" Title="专家限价" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>专家限价</title>

    <script language="vbscript" type="text/vbscript" src="../Common/yz.vbs"></script>

    <script language="javascript" src="../common/javascript/calendar.js" type="text/javascript">
    </script>

    <link href="../styles/global.css" rel="Stylesheet" type="text/css" />
    <link href="../styles/css.css" rel="stylesheet" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 99%">
            <tr>
                <td width="4">
                    <img src="../images/intro_left.gif" width="4" height="34" />
                </td>
                <td class="intro_wordbg" style="width: 180px">
                    专家限价
                </td>
                <td background="../images/intro_bg.gif" align="left" style="width: 577px">
                    <img src="../images/intro_right.jpg" width="118" height="34" />
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                </td>
            </tr>
        </table>
        <table id="tabData" border="1" width="100%" class="list">
            <tr>
                <td class="td_left_20">
                    选择项目：
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:DropDownList ID="listProject" runat="server" Width="500px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="td_left_20">
                </td>
                <td class="td_right_80" colspan="3">
                    <asp:DropDownList ID="lstCompanyNameTB" runat="server" Width="500px">
                    </asp:DropDownList>
                    <asp:RadioButtonList ID="rbtnSub" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <asp:ListItem Value="0">全部</asp:ListItem>
                        <asp:ListItem Value="1">已提交</asp:ListItem>
                        <asp:ListItem Selected="True" Value="2">未提交</asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:Button ID="Button2" runat="server" class="button_120" Text="刷新待处理企业名单" OnClick="Button2_Click" />
                </td>
            </tr>
            <tr>
                <td class="td_left_20">
                    投标人名称：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtCompanyNameTB" runat="server" Width="228px" Enabled="false"></asp:TextBox>
                </td>
                <td class="td_left_20">
                    <%--投标人注册号：--%>
                </td>
                <td class="td_right_30">
                    <%--<asp:TextBox ID="txtUserCode" runat="server" Width="228px" Text=""></asp:TextBox>--%>
                </td>
            </tr>
            <tr>
                <td class="td_left_20">
                    通用名：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtProductName" runat="server" Width="228px"></asp:TextBox>
                </td>
                <td class="td_left_20">
                    生产企业：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtCompanyNameSC" runat="server" Width="228px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="td_left_20">
                    药品流水号：
                </td>
                <td class="td_right_30">
                    <asp:TextBox ID="txtGoodsId" runat="server" NumericOnly="药品流水号" Width="228px"></asp:TextBox>
                </td>
                <td class="td_left_20">
                    接受状态：
                </td>
                <td class="td_right_30">
                    <asp:DropDownList ID="lstAcceptCompany" runat="server" Width="228px">
                        <asp:ListItem Value="0">全部</asp:ListItem>
                        <asp:ListItem Value="1">企业已接受专家建限价</asp:ListItem>
                        <asp:ListItem Value="2">未接受已给限价</asp:ListItem>
                        <asp:ListItem Value="3">未接受未给限价</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                </td>
                <td style="width: 18px">
                </td>
                <td align="right">
                </td>
                <td>
                    <asp:Button ID="Button1" runat="server" class="button_80" Text="查 询" />
                    <input id="btn" type="button" class="button_80" value="返回首页" onclick="javascript:window.location='../homepage/default.aspx'" />
                    <asp:Button ID="Bexcle" runat="server" CssClass="button_160" Text="导出未同意建限价的产品" Visible="false"
                        OnClick="Bexcle_Click" />
                </td>
            </tr>
            <tr>
                <td align="left" colspan="4">
                    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
                    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                    <asp:HiddenField ID="hf" runat="server" />
                    <br />
                    <asp:Label ID="labMsg" runat="server" Text="" Font-Size="Larger" ForeColor="Green"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" CssClass="table_table"
                        HeaderStyle-CssClass="table_title" Width="100%" OnRowDataBound="GridView2_RowDataBound">
                        <Columns>
                            <asp:BoundField DataField="GoodsId" HeaderText="流水号" />
                            <asp:BoundField DataField="ProductCode" HeaderText="通用名" />
                            <asp:BoundField DataField="ProductName" HeaderText="通用名" />
                            <asp:BoundField DataField="Medicinemodel" HeaderText="剂型" />
                            <asp:BoundField DataField="Outlookc" HeaderText="规格" />
                            <asp:BoundField DataField="factor" HeaderText="转换系数" />
                            <asp:BoundField DataField="QualityLevels" HeaderText="质量层次" />
                            <asp:BoundField DataField="CompanyName_sc" HeaderText="生产企业" />
                            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标人" Visible="false" />
                            <asp:BoundField DataField="UserCode_TB" HeaderText="投标人注册号" />
                            <asp:BoundField DataField="LimitPrice" HeaderText="限价" DataFormatString="{0:N2}"
                                HtmlEncode="false" />
                            <asp:BoundField DataField="SPPrice" HeaderText="投标报价" DataFormatString="{0:N2}" HtmlEncode="false" />
                            <asp:TemplateField HeaderText="专家建限价1"></asp:TemplateField>
                            <asp:BoundField DataField="ExpertPrice1" HeaderText="专家建限价1" DataFormatString="{0:N2}"
                                HtmlEncode="false" />
                            <asp:BoundField DataField="YiJiaPackPrice1" HeaderText="限价报价" DataFormatString="{0:N2}"
                                HtmlEncode="false" />
                            <asp:TemplateField HeaderText="专家建限价2"></asp:TemplateField>
                            <asp:BoundField DataField="ExpertPrice2" HeaderText="专家建限价2" DataFormatString="{0:N2}"
                                HtmlEncode="false" />
                            <asp:BoundField DataField="YiJiaPackPrice2" HeaderText="限价报价2" DataFormatString="{0:N2}"
                                HtmlEncode="false" />
                            <asp:TemplateField HeaderText="专家建议"></asp:TemplateField>
                            <asp:BoundField DataField="ExpertIdea" HeaderText="专家建议" />
                            <asp:BoundField DataField="CompanyIdea" HeaderText="企业意见" />
                            <asp:TemplateField HeaderText="企业是否接受"></asp:TemplateField>
                            <asp:BoundField DataField="Accept_Company" HeaderText="接受" />
                            <asp:BoundField DataField="bidid" HeaderText="bidid" />
                            <asp:BoundField DataField="Submit" HeaderText="Submit" />
                            <asp:BoundField DataField="YiJiaBidPrice" HeaderText="限价中标价" DataFormatString="{0:N2}"
                                HtmlEncode="false">
                                <ItemStyle Width="60px" />
                            </asp:BoundField>
                        </Columns>
                        <RowStyle CssClass="table_td" />
                        <HeaderStyle CssClass="table_title" />
                        <AlternatingRowStyle CssClass="table_td2" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td colspan="4" align="right">
                    <asp:Label ID="labSave" runat="server" Font-Bold="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
